Tags: Microsoft server style Color Black(3) installation configuration mysql-mmmThe Perl module (all servers) required to install MMM in DB1, DB2, DB3 executes the script, and then yum-y install mysql-mmm-agent to mount MMM:# RPM-IVH http://dl.fedoraproject.org/pub/epel/6/x8
MySQL semi-synchronous replication + MMM architecture, mysql synchronous mmm ArchitectureIntroduction
The previous article introduced the implementation method of the MMM architecture, but the replication of the MMM solution in th
An error is reported when a mysql-mmm environment is set up, and a mysql-mmm environment is reported.
The following information is displayed when mmm_contorl show is executed after monitor is started.
ERROR: Can't connect to monitor daemon!
Solution:
Modify configuration file
Set debug = 0
Change
Debug = 1
Then
I. Description of requirementsRecently has been learning mysql-mmm, want to later this architecture can also be used in our company's business, our company's business is a single-machine multi-instance deployment, so also want to mysql-mmm deployment into this, Kung fu is not a conscientious, I succeeded, and everyone
Tags: monitoring not Lin Source working principle format authorization Login policy technologyBrief introductionMMM (Master-master Replication Manager for MySQL) is a set of scripting programs that support dual-master failover and dual-master daily management. MMM is developed using the Perl language, which is mainly used to monitor and manage MySQL Master-master
MMM high-availability MySQL service cluster Solution
Introduction to MMM high availability solutions
MMM (Master-Master Replication Manager for MySQL) Master Replication Manager is a scalable script program that provides monitoring, failover, and management of
1 install mysql
See http://www.jb51.net/article/47094.htm
2. Basic configuration of master 1
3. Create usersGrant replication client on *. * TO 'mmm _ monitor' @ '% 'identified BY 'mmm _ monitor ';Grant super, replication client, process on *. * TO 'mmm _ agent' @ '% 'identified BY '
1 Install MySQL
Please refer to http://www.jb51.net/article/47094.htm
2. Basic Configuration of Master 1
3. Create UsersGRANT REPLICATION CLIENT on *.* to ' mmm_monitor ' @ '% ' identified by ' mmm_monitor ';GRANT SUPER, REPLICATION CLIENT, PROCESS on *.* to ' mmm_agent ' @ '% ' identified by ' mmm_agent ';GRANT REPLICATION SLAVE on *.* to ' repl ' @ ' 10.88.49.% ' identified by ' repl ';Grant Insert,create,delete,update,select on *.* to ' tim ' @
The most basic MMM installation must require at least 2 database servers and a monitoring server the MySQL cluster environment to be configured contains four database servers and a monitoring server, as follows:
function
IP
hostname
Server ID
Monitoring host
192.168.0.10
Mon
-
Master 1
192.168.0.11
Db1
1
Master 2
192.1
Mysqlproxy and mysql-mmm test environment for read/write Splitting: mysqlA: 192.168.128.6mastermysqlB: 192.168.128.7mastermysqlproxy + mysql-mmm: 192.168.128.5 database write operation: 192.
Mysqlproxy and mysql-mmm test environme
1.MYSQL-MMM OverviewMMM (Master-master Replication Manager for MySQL) is a set of scripting programs that support dual-master failover and dual-master daily management. MMM is developed using the Perl language, which is mainly used to monitor and manage MySQL Master-master (
Brief introductionMMM (Master-master Replication Manager for MySQL) is a set of scripting programs that support dual-master failover and dual-master daily management. MMM is developed using the Perl language, which is mainly used to monitor and manage MySQL Master-master (dual master) replication, although it is called dual master replication, but only one master
Background: The mysql synchronization replication function (see the previous article http: blogcsdnnetkingofworldarticledetails39210937) is only a dual-host hot standby function and cannot automatically switch Mysql connections. The configuration of the real mysql Cluster, making in the background: the mysql synchroniz
specified End expire_logs_days = 10max_binlog_size = 100mlog_slave_updates = 1
B. Add the log directory under/opt/mysqlcd /opt/mysqlmkdir logchown mysql:mysql log
D. Restart MySQLsystemctl restart mysql
E. Check if the configuration is successful1) log in to MySQL and perform the show master status to see if the output is as follows+ —————— + ———-+ ———— –+ —————— + ——————-+| File |
Tags: mysql high availabilityThe MMM high-availability MySQL program is a well-developed MySQL high-availability cluster solution written in Perl, based on MySQL master-slave replication, with a Management side (monitor) and multiple agent-side (agent) components. Through
Label:This article comes from my GitHub pages blog http://galengao.github.io/ie www.gaohuirong.cn MMM (Master-master Replication Manager for MySQL) is a set of scripting programs that support dual-master failover and dual-master daily management. MMM is developed using the Perl language, which is mainly used to monitor and manage
I. Requirement Description I have been learning mysql-mmm recently. I think this architecture can be used in our company's business in the future. Our company's business is single-host, multi-instance deployment, therefore, I want to deploy mysql-mmm in this way.
I. Requirement Description I have been learning
Why to use MySQL high availability cluster
In the actual production environment, when the normal MySQL master-slave replication and read/write separation can not meet the actual requirements, it is necessary to consider the MySQL high-availability cluster, for security reasons, when the data access is too large to bring the primary server load, when the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.